Skip to content

Implement Mosaic GPU detection and Auto-Skips#714

Open
gulsumgudukbay wants to merge 43 commits intoamd-mainfrom
mosaic-skip-auto
Open

Implement Mosaic GPU detection and Auto-Skips#714
gulsumgudukbay wants to merge 43 commits intoamd-mainfrom
mosaic-skip-auto

Conversation

@gulsumgudukbay
Copy link

Add functions to detect and manage Mosaic GPU usage in tests and auto-skip them on ROCm.

charleshofer and others added 30 commits February 20, 2026 09:25
…tignore (#563)

When jaxlib was built in debug more, an assertion in LLVM code that lazy-loads VHLO dialect could fire, since the code path could execute in a multi-threaded environment, and LLVM dialect repositories aren't thread safe to modify.

This patch applies the same changes that upstream makes to fix this: jax-ml@48c8762

(this includes disabling a call to `jax_mlir_ext.enter_multi_threaded_execution(context)` in `mlir.py`. Presumably, the whole functionality related to `enter_multi_threaded_execution()` multithreaded checks isn't ready yet, and it was prematurely rolled into the production code.

Manual testing
(forgot this skip in the previous PR)
Co-authored-by: Daniel Suo <danielsuo@gmail.com>
Co-authored-by: Jake VanderPlas <jakevdp@google.com>
@gulsumgudukbay gulsumgudukbay added the open-upstream Tag when you want a copy of this PR to be opened on upstream label Feb 21, 2026
@mminutoli mminutoli force-pushed the amd-main branch 2 times, most recently from d36ebc2 to 7d684aa Compare March 2, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

open-upstream Tag when you want a copy of this PR to be opened on upstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants